package com.fn.push.controller;

import com.fn.push.utils.PushUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * @author lenovo
 * @ClassName PushTestController
 * @Description TODO
 * @Date 2021/5/24
 * @Version 1.0
 */
public class PushTestController {
    public static void main(String[] args) {
        List<String> CIDs = new ArrayList<>();
        CIDs.add("aa9a76412ddd44911a135f6cd44cddc2");
        String title = "测试标题527";
        String content = "第一次测试内容527";
        String payload = "";
        String intent = "";
        String url = "";
        //逍遥模拟器
        String cid = "aa9a76412ddd44911a135f6cd44cddc2";
//        PushUtils.pushToSingle(cid, title, content, payload, intent, url);
//        PushUtils.pushBatch(CIDs, title, content, payload, intent, url);
        PushUtils.pushAllApp(title, content, payload, intent, url);
    }
}
